package custom;

public class Question {

	private int quizId, questionNumber, type;
	private String question, answer;

	public Question(String question, String answer, int questNumber,
			int quizId, int type) {
		this.answer = answer.trim();
		this.question = question;
		this.quizId = quizId;
		this.questionNumber = questNumber;
		this.type = type;
	}

	public String getQuestion() {
		return question;
	}

	public String getAnswer() {
		return answer;
	}

	public int getQuestionNumb() {
		return questionNumber;
	}

	public int getQuizId() {
		return quizId;
	}

	public int getType() {
		return type;
	}

	public boolean checkAnswer(String answer) {
		return this.answer.equalsIgnoreCase(answer.trim());
	}

	public String getQuestionHtmlA() {
		return "";
	}

	public String getQuestionHtmlB() {
		return "";
	}

	public String getAnswerHtml() {
		return "";
	}

	public String getNewQuestionHtml() {
		return "";
	}

	public void removeFromDB(int ID) {

	}

}